-------------------------------------------------------------
DPED Version 1.1
FLYMAN  1999.11.25
	Modified 2001.06.21
-------------------------------------------------------------

What is DPED ?
~~~~~~~~~~~~~~
It is an editor for DP files. DP(Damage Point) files are used
by Combat Flight Simulator(CFS) released by Microsoft. DP files
contain definitions of armaments and damage points of each planes
in CFS.
This version of DPED can handle CFS2's DP files.


What is DPED's special feature ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DPED can handle not only armaments. It can also handle all other DP
parameters.
You may select armaments from a list or you may add NEW armament
settings to the list.
You may handle related sections like [SYSTEMS] and [STRINGS] in one
window.
The hit boxes defined in [BOXMAPS], the armaments defined in [GUNS]
and the payloads points defined in [HARDPOINT] are shown in the blue
print window so that you can check and move those positions visually.
"CUT", "COPY", "PASTE" functions are available in each windows.
You can see the visual model of add-on planes in 'Blue-Print' screen
not only CFS addons but also FS2K or FS98 addons!


Install
~~~~~~~
Contents of this archive are as follows.

DPED.EXE	DPED program
DPED.INI	definition file
ARMS.DAT	armaments file

To install DPED, please put all of these files in one directory together.


Uninstall
~~~~~~~~~
DPED doesn't modify windows registry. To uninstall DPED, you just delete
all files you have installed.


Visual Models
~~~~~~~~~~~~~
At version 1.1, I've changed a method of mdl handling routine. Though,
still dped can't show many mdls in the blue print window.

* AF5,AF99 (FSFS) planes
    Almost okay.

* FSDS planes
    Almost okay.

* AD2000 planes
    Many problems.

* CFS,CFS2 and FS(s) planes
    No good.

To solve these problems, I must know all the functions used in the mdl
stream, which are binary codes, but I can't hack them by myself.


Limitations, Known bugs, Problems.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* When you open an existing DP file, contents of all sections except
  [STRINGS] section must exist in ascending order beginning with "0".
  When you save the file, [STRINGS] section are also sorted in regular
  sequence.
* When you open an existing DP file, any comments written in the file
  may removed. You can only put comments at the beginning of the file.
  Some other comments may be inserted by DPED automatically.
* You cannot add [STRINGS] without [SYSTEMS] definition.
* Some of the parameters in the armaments data, whose values are not
  clear are set to "0".
* The wire frame view doesn't support CFS original stock-planes. Because I
  can't analyze inside of MDL files. Some other addon aircraft MDLs are
  also not analysed for this reason - I don't know why - maybe their origin
  is different - or some parts are at wrong positions (offset values are
  neglected by DPED).
* Maximize of MDI sub-windows is not saved.
* Some wire frame model are not shown in true scale - I dont't know
  why! If you feel the wire frame size is incorrect, please be careful
  how you handle it.
* My English avility is secondary, so that help messages, item titles and
  other things related to english-text may seem a little strange at times.
-----------------------------------------------------------------------
Changes
~~~~~~~
1.10
* Re-constructed MDL handling routine.

1.00
* I made a lot of changes to apply DPED to CFS2.

0.95
* Changed active box color on the blue print window from white to pink.
* Changed to show active box always on top of the blue print window.
* Added 'Move' function to the pop-up menu of boxes, parts and guns
  windows.
* Added 'Mirror' function to the pop-up menu of the boxes window.
* Fixed bug of drag & drop function.
* Fixed bug that the scale function didn't work if the decimal point
  setting of MS-Windows is not a period.
* Changed icon picture.

0.94d
* Added function to indicate the mouse pointer's location at the blue
  print window.
* Fixed some bugs around wire frame views.
* Deleted complex wire frame mode.

0.94c
* Added some parameters to [PARTS], [EFFECTS] and [SOUND] sections of
  DPED.INI file.

0.94b
* Added function to show defined polygon of the wire frame model in the
  blue print window by sky blue color.

0.94
* Modified the simple wire function of the wire frame display to draw
  lines according to the order in MDL file. By this modification,
  wire frame is constructed by actual polygons.

0.93a
* Added function to support any decimal point characters set in
  ms-windows (single byte or double bytes).
* Set an initial directory of file open/close dialog box to "Aircraft"
  sub directory in CFS directory (Get value from ms-windows registry).
* Changed method of DPED.INI output routine.

0.93
* Added simple wire display mode to the popup menu of blue print windows.
* To fix window size of MDI child windows, changed window attribute to
  bsDialog.

0.92d
* Added popup menu to blue print window (will appear by right button
  click at the upper panel area). There are scale up functions (x1, x2,
  x4) and centering function in the menu.
* Fixed bug that the scroll bars appear in blue print window when
  current box goes out of window area.

0.92c
* Fixed bug that DPED crashed when it finished with MDI maximized window.
* Hide minimize and maximize buttons on windows except MDI pop-up windows.
* Fixed bug that the functions of COPY, CUT and PASTE in guns window
  didn't work. Some other bugs related to COPY, CUT and PASTE functions
  are fixed.
* Modified wire frame scale.

0.92b
* Added function to read MDL files directly.
* Fixed bug that the wire frame shifted upward.

0.92
* Added COMPLEX mode for wire frame display.

0.91
* Changed data holding method of the wire frame from StringGrid to
  array.

0.90a
* Added wire frame display function which shows wire frame model
  retrieved from MDL file, in blue print window.
* Added menu selection function which can change display/hide of
  SCRAPE POINTS and Wire Frame in blue print window.

0.80
* Added COPY, CUT, PASTE functions in to popup menu of Boxes, Parts
  and Guns window which will appear by right button clicking.
* Changed to apply version number of current DPED at end of DP file.

0.71c
* Fixed bug that Parm1 of [PARTS] not set when opening DP file.

0.71a
* Added function to change scales of SCRAPE POINTS values in inches
  or meters alternately.

0.71
* Added function to show position of SCRAPE POINTS retrieved from
  AIR file, in blue print window.
* Added menu item to show SCRAPE POINTS values.

0.70
* Added function to resize (x 0.5 to 5.0 step 0.1) hit boxes and
  armaments locations.

0.69a
* Added function to save MDI child windows' status to DPED.INI file.

0.69
* Added function to manage file access history.
* Modified method to read DP file and DPED.INI file.

0.68
* Added STRINGS window to change order of strings.
* Changed compiler from Delphi4 to Delphi5.

0.67a
* Changed to leave values in guns section when armaments data
  read.

0.67
* Changed to save window status to DPED.INI file.

0.66a
* Added function to open/close child windows at once.

0.66
* Added function to change current hit box size in blue print window
  by dragging it.

0.65
* Added function to get DP file name as DPED's parameter.
* Added function to get DP file name by drag and drop to DPED.
* Modified error handling routine.

0.64d
* Added function to show current file name in the title bar.

0.64c
* Modified to hide armament position to blue print window when "No Weapons"
  selected in [GUNS] section.

0.64b
* Modified to stop writing sections to DP files when no values defined.

0.63
* Added irregular data handling routine.
* Added function to change positions of armaments by dragging them.
* Modified to show confirmation message when the same file name available
  at file saving operation.

0.60
* Added blue print window. Show BOXMAP and GUNS on to it.

0.53a
* First beta test version. Basic functions were implemented.

-----------------------------------------------------------------------
Others
~~~~~~
The armaments database is based on Mr.Kevin Gaddy's "Weapons.rtf"
file. Thanks Kevin, your work was useful!

Also thanks to Mr.Chuck Dome. I have refer "MDLVUE.TXT" to analyze
MDL file for handling wire frame model.

I have received some useful knowhow about DPED.INI from Mr.Ulrich
Werner and Mr.Bruno Duffort. Also Ulrich sent me some useful ideas
such as 'move' and 'mirror' functions at boxes window. Thank you for
your kind advice.

Mr.Terry Bennett fixed many strange phrases in the HowTo.TXT and this
ReadMe_E.TXT documents. Thank you Terry.

No meanings in version numbers.

This version of DPED is released as freeware.

Please do not include this archive in any commercial or non commercial
packages without my permission.

This program is distributed WITHOUT ANY WARRANTY. I recommend you
make backup of DP file before you start any work.
--
Copyright(c)
1998-1999 Yusaku Homma <flyman@leo.bekkoame.ne.jp>
URL http://www.vector.co.jp/authors/VA002987/
